package testClasses.misc;

import java.util.HashMap;

import tiles.HexTileView;
import view.EViewList;
import view.View;

import com.jme3.asset.AssetManager;
import com.jme3.material.Material;
import com.jme3.texture.Texture;

public class FVSquareTile {
	
	public HashMap<EViewList, View> buildViews(AssetManager assets) {
		
		HashMap<EViewList, View> views = new HashMap<EViewList, View>();
		
		//Create views
		//-----------------------------------------
		Material mat = new Material(assets, "Common/MatDefs/Misc/Unshaded.j3md");
		//Texture tex = assets.loadTexture("assets/Graphics/Map/testSquare.PNG");
		Texture tex = assets.loadTexture("assets/Graphics/Map/testSquare.PNG");
		mat.setTexture("ColorMap", tex);
		
		VSquareTile defaultView = new VSquareTile(EViewList.DEFAULT, mat);
		
		views.put(defaultView.getName(), defaultView);
		
		//next view
		//etc...
		
		
		//-----------------------------------------
		
		
		return views;
	}

}
